home *** CD-ROM | disk | FTP | other *** search
- Subject: FW_CSuperView::AddSubView
- Sent: 7/8/96 11:27 AM
- Received: 7/8/96 11:51 AM
- From: Rob Cope, rob@eclipse.cpcn.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
-
- FW_CSuperView::AddSubView starts like this:
-
- void FW_CSuperView::AddSubView(Environment* ev, FW_CView *subview)
- {
- if (fSubViews == NULL)
- {
- fSubViews = FW_NEW(FW_CViewCollection, ());
- }
- else if (fSubViews->Contains(this) == true)
- {
- FW_DEBUG_MESSAGE("subview already added");
- return;
- }
- ...
-
- I believe the "else" should read:
- else if (fSubViews->Contains(subView) == true)
-
-
- Rob Cope
- Eclipse Services
-